package web;

import entity.Dept;
import service.DeptService;
import service.impl.DeptServiceImpl;

import java.util.List;

public class TestSelectDept {
    public static void main(String[] args) throws Exception {
        DeptService deptService = new DeptServiceImpl();
        List<Dept> deptList = deptService.getDeptList();
        for (Dept d:deptList){
            System.out.println(d);
        }

    }
}
